package com.lxy.cloud.mqtt.client.model.vo;

import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author: lxy
 * @Date: 2020/9/8 9:46
 * @Desc:
 */
@Data
@Builder
public class BaseCommandVO {
    /**
     * topic主题
     */
    @NotBlank(message = "topic can't null")
    private String topic;
    /**
     * 接口名
     */
    @NotBlank(message = "method can't null")
    private String method;

    private Object data;
}
